package com.Cychat.commons.entity.pojo;


import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;

@Data
@TableName("permission")
public class Permission {
    @Schema(description="权限ID")
    @TableId(value = "permission_id", type = IdType.AUTO)
    private Integer permissionId;
    @Schema(description="权限名称")
    private String permName;
    @Schema(description="权限编码")
    private String permCode;
    @Schema(description="权限类型，1为菜单权限，2为操作权限")
    private Integer permType;
    @Schema(description="权限功能描述")
    private String description;
    @Schema(description="创建时间")
    private Date createTime;
    @Schema(description="修改时间")
    private Date updateTime;
}